import { ModuleWithProviders } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { BaseUseComponent } from './base-use/base-use.component';
import { TabComponent } from './component-assembly/tab/tab.component';

const childRoutes: Routes = [
    {
      path: 'baseUse',
      component: BaseUseComponent,
    },
    {
      path: 'assembly',
      component: TabComponent,
    },
    {
      path: '',
      // pathMatch: 'full',
      redirectTo: 'baseUse'
    },
    // {
    //   path: '**',
    //   redirectTo: 'list'
    // }
  ];
export const FormTableRouterModule: ModuleWithProviders = RouterModule.forChild(childRoutes);

